{layout name="layout"}
<div id="page-title">
    <h1 class="page-header text-overflow"></h1>
</div>
<div class="row">
    <div class="col-sm-12" >
        <div class="panel text-center" style="height: 450px;padding:100px;">
        <img width="200" height="200" src="__IMG__/error.png">
        <h4 class="panel-title text-dark"><?php echo(strip_tags($msg));?></h4>
        <p class="jump">
            页面自动 <a id="href" href="<?php echo($url);?>">跳转</a> 等待时间： <b id="wait"><?php echo($wait);?></b>
        </p>
    </div>
    </div>
</div>
<script type="text/javascript">
(function(){
    var wait = document.getElementById('wait'),
        href = document.getElementById('href').href;
    var interval = setInterval(function(){
        var time = --wait.innerHTML;
        if(time <= 0) {
            location.href = href;
            clearInterval(interval);
        };
    }, 1000);
})();
</script>